package com.test.mapper;

import com.test.pojo.PowerBean;
import com.test.pojo.PowerBeanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PowerMapper {
    long countByExample(PowerBeanExample example);

    int deleteByExample(PowerBeanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PowerBean record);

    int insertSelective(PowerBean record);

    List<PowerBean> selectByExample(PowerBeanExample example);

    PowerBean selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PowerBean record, @Param("example") PowerBeanExample example);

    int updateByExample(@Param("record") PowerBean record, @Param("example") PowerBeanExample example);

    int updateByPrimaryKeySelective(PowerBean record);

    int updateByPrimaryKey(PowerBean record);
}